GUI Linked To Updates

I have a dxl layout script that updates the sequence of objects whenever new objects are added, moved, or deleted.  Is it possible to include a trigger that prompts the user for an 'authorization number' and then links that number to each object that has changed in an 'authorization number' column?  I'm thinking it would involve a basic GUI, but I'm unfamiliar with how DOORS/DXL handles these objects.


stevenson - Mon Sep 09 13:26:51 EDT 2013

Re: GUI Linked To Updates
llandale - Tue Sep 10 11:23:56 EDT 2013

Not following what your Layout does.  It figures out how many objects are displayed before it and then makes sure some attribute has that exact value?

I wonder if a pre-module-close trigger would work with these characteristics:

  • Determines if the module has changed .. or has changed in a way that requires authorization
  • block a GUI.  This forces the user to enter the Authorization.
  • Finds all changed Objects, and [a] sets an "Authorization" attribute with the number, or [b] adds the number to the existing list of Authorizations for that object.

Alternatively:

  • Figure out which objects have changed
  • If changed objects don't alreay have Authorization recoreded, dis-allow the module from closing.

Too bad there is no pre-save-module trigger.

I would consider using the "session" number of the Edit session in some meaningful way.  Perhaps you need Authorization to Share or Edit the module in the first place and keep a log in some module-level text attribute.

Some time ago someone figured out how to cleverly use a pre-sync-object trigger to update some attribute when an object changed; but IRC I thought the solution unsatisfactory.

-Louie